export interface dataConfig {
  name: string;
  age: number;
}

export interface getListResult {
  data: { a: string }[];
  total: number;
}

export interface paramsLogin {
  account: string;
  password: string;
  code?: string;
}

export interface loginResult {
  data: {
    token: string;
  };
}

export interface noteNameParams {
  id: string;
  name?: string;
}
